import request from "@utils/request";

export function getServiceList() {
    return request({
        url: "/api/Lottery/lotteryList",
        method: 'get'
    });
}

export function getRewardType(id) {
    return request({
        url: '/api/Lottery/getLotteryPeilv',
        method: 'get',
        params: {
            id
        }
    });
}

export function getLotteryInfo(key){
    return request({
        url: "/api/Lottery/getLotteryInfo",
        method: "get",
        params: {
            key: key
        }
    })
}
